package com.SRMS.domain;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author Albert
 * @version 1.0
 * @date 2023/12/16-15:30
 * @describe RevokeRecordForAdmin视图对应类
 */
public class RevokeRecordForAdmin implements Serializable {
    private String rightId;
    private String studentId;
    private String studentName;
    private String administratorId;
    private String administratorName;
    private String studyRoomId;
    private String address;
    private String roomName;
    private String revokeReason;
    private Timestamp revokeTime;

    public RevokeRecordForAdmin() {
    }

    public RevokeRecordForAdmin(String rightId, String studentId, String studentName, String administratorId, String administratorName, String studyRoomId, String address, String roomName, String revokeReason, Timestamp revokeTime) {
        this.rightId = rightId;
        this.studentId = studentId;
        this.studentName = studentName;
        this.administratorId = administratorId;
        this.administratorName = administratorName;
        this.studyRoomId = studyRoomId;
        this.address = address;
        this.roomName = roomName;
        this.revokeReason = revokeReason;
        this.revokeTime = revokeTime;
    }

    public String getRightId() {
        return rightId;
    }

    public void setRightId(String rightId) {
        this.rightId = rightId;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getAdministratorId() {
        return administratorId;
    }

    public void setAdministratorId(String administratorId) {
        this.administratorId = administratorId;
    }

    public String getAdministratorName() {
        return administratorName;
    }

    public void setAdministratorName(String administratorName) {
        this.administratorName = administratorName;
    }

    public String getStudyRoomId() {
        return studyRoomId;
    }

    public void setStudyRoomId(String studyRoomId) {
        this.studyRoomId = studyRoomId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getRevokeReason() {
        return revokeReason;
    }

    public void setRevokeReason(String revokeReason) {
        this.revokeReason = revokeReason;
    }

    public Timestamp getRevokeTime() {
        return revokeTime;
    }

    public void setRevokeTime(Timestamp revokeTime) {
        this.revokeTime = revokeTime;
    }

    @Override
    public String toString() {
        return rightId + "\t" + studentId + "\t" + studentName + "\t" +
                administratorId + "\t" + administratorName + "\t\t\t" + studyRoomId + "\t\t\t" +
                address + "\t" + roomName + "\t\t\t" + revokeTime + "\t" + revokeReason;
    }
}
